package com.ifast.experts.domain;

import java.io.Serializable;
import java.util.List;

public class TreeNode implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String text;

    private String pid;

    private List<TreeNode> children;

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
}
